<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page import="avicit.platform6.commons.utils.ViewUtil"%>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<base href="<%=ViewUtil.getRequestPath(request)%>">
<jsp:include page="/avicit/platform6/component/common/EasyUIJsInclude.jsp"></jsp:include>
<script type="text/javascript" src="avicit/im/lantop/basic/reportmanager/js/printPage.js"></script>
<script type="text/javascript">
</script>
<html>
<head>
    <title>报表打印</title>
    <script type="text/javascript">
        var scrWidth = screen.availWidth;
        var scrHeight = screen.availHeight;
        window.moveTo(0, 0);
        self.resizeTo(scrWidth,scrHeight);
        self.focus();
    </script>
</head>
<body style='margin:0;overflow:hidden'>
<form id='postDataForm' method='post' action='<%=ViewUtil.getRequestPath(request)%>ReportServer' target='lantopreport' style='display:none'>
    <%
        String paramNameArray = (String)request.getAttribute("paramNames");
        String paramValueArray = (String)request.getAttribute("paramValues");
		/* String paramNameArray = request.getParameter("paramNames");
		String paramValueArray = request.getParameter("paramValues"); */
        String[] paramNames = paramNameArray.split(";;");
        String[] paramValues = paramValueArray.split(";;");
        if (paramNames.length == paramValues.length) {
            for (int i = 0; i < paramNames.length; i++) {
                String n = paramNames[i];
                String v = paramValues[i];
    %>
    <input type='hidden' name='<%=n%>' value="<%=v%>" />
    <%
            }
        }
    %>
</form>
<iframe id="lantopreport" style="margin:0;" name="lantopreport" width="100%" height="100%"  frameborder="0"></iframe>
<body>
<html>